﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZX.Web.UI.Controls;
namespace ZX.WebApp.EditWidows
{
    public partial class ChooseList :ListPage
    {

        /// <summary>
        /// 获取数据数据条件
        /// </summary>
        public string ShowCheckBox
        {
            get
            {
                return GetStringFromQueryString("ShowCheckBox", "false");
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                if (EntityName == "V_UserMessage" || EntityName == "DatEmployee" || EntityName == "V_UserEmp" || EntityName == "V_hrEmployee")
                {
                    DeptList1.IsLoad = true;
                }
                else
                {
                    DeptList1.IsLoad = false;
                }
            }
        }
    }
}